/**
 * 交叉类型
 *  ● 合并多个类型，生成新类型
 */
type NameType = { name: string }
type AgeType = { age: number }
type Person = NameType & AgeType

let person: Person = {
  name: '张智琦',
  age: 18
}

export {}
